package com.yonyou.pmclouds.completedcollate.entity;

import com.yonyou.pmclouds.basecom.entity.SuperVO;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

@Data
@Table(name = "pmdm_completed_collate")
public class CompletedCollateVO extends SuperVO {
    public static final String SNAME = "sname";
    public static final String PK_PROJECT = "pkProject";
    public static final String PK_COMPLETEDCATALOG = "pkCompletedCatalog";
    public static final String CATALOG_NAME = "catalogName";

    // 制单人姓名
    public static String CREATOR_NAME = "creatorName";
    // 制单人
    public static String CREATOR = "creator";
    // 项目经理
    public static final String MANAGER = "manager";
    public static final String MANAGER_NAME = "managerName";


    @Id
    private String pkCompletedCollate;

    private String sname;

    private String catalogName;

    private String pkProject;

    private String pkCompletedCatalog;

    private String pkTenant;

    private String creator;

    private Date creationtime;

    private String modifier;

    private Date modifytime;
    // 项目
    @Transient
    private String projectName;
    // 项目经理名称
    @Transient
    private String manager;
    @Transient
    private String managerName;
    // 竣工资料整理表体明细内容
    @Transient
    private CompletedCollateBVO[] collateBVOS;
    // 制单人
    @Transient
    private String creatorName;
}